﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace ES.Client.Expression.Field
{
    public class MemberParser : BaseParser, IFieldParser
    {
        public string Parse<T>(Expression<Func<T, object>> expression)
        {
            var memberExpression = expression.Body as MemberExpression;
            var field = base.Parse(memberExpression);
            return field;
        }
    }
}
